package com.bootdo.api.domain;

public class OfflineHead {
	private String Version;			//文件版本号
	private String RtnSign;			//换行
	
	private String CorpID;			//商户编号	业务方
	private String RecNum;			//记录总数
	private String RecAmt;			//金额总数
	private String Reclens;			//单笔交易长度
	private String IsTSUsed;		//特有数据启用标志 0为不用，1为启用
	private String Reserved;		//保留域全F
	private String RtnSign1;		//换行
	
	public String getVersion() {
		return Version;
	}

	public void setVersion(String version) {
		Version = version;
	}

	public String getRtnSign() {
		return RtnSign;
	}

	public void setRtnSign(String rtnSign) {
		RtnSign = rtnSign;
	}

	public String getCorpID() {
		return CorpID;
	}

	public void setCorpID(String corpID) {
		CorpID = corpID;
	}

	public String getRecNum() {
		return RecNum;
	}

	public void setRecNum(String recNum) {
		RecNum = recNum;
	}

	public String getRecAmt() {
		return RecAmt;
	}

	public void setRecAmt(String recAmt) {
		RecAmt = recAmt;
	}

	public String getReclens() {
		return Reclens;
	}

	public void setReclens(String reclens) {
		Reclens = reclens;
	}

	public String getIsTSUsed() {
		return IsTSUsed;
	}

	public void setIsTSUsed(String isTSUsed) {
		IsTSUsed = isTSUsed;
	}

	public String getReserved() {
		return Reserved;
	}

	public void setReserved(String reserved) {
		Reserved = reserved;
	}

	public String getRtnSign1() {
		return RtnSign1;
	}

	public void setRtnSign1(String strBuffer) {
		RtnSign1 = strBuffer;
	}
	
	public OfflineHead(){}
	
	public OfflineHead(String Version, String RtnSign, String CorpID, String RecNum, String RecAmt, String Reclens, String IsTSUsed,
			String Reserved, String RtnSign1){

		this.Version = Version;
		this.RtnSign = RtnSign;
		this.CorpID = CorpID;
		this.RecNum = RecNum;
		this.RecAmt = RecAmt;
		this.Reclens = Reclens;
		this.IsTSUsed = IsTSUsed;
		this.Reserved = Reserved;
		this.RtnSign1 = RtnSign1;
	}
	
	public String toString(){
		return Version + RtnSign + CorpID + RecNum + RecAmt + Reclens + IsTSUsed + Reserved + RtnSign1;
	}
}
